package cn.dhnep.demo.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author dhn
 * @since 2021-08-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_earnings")
@ApiModel(value="Earnings对象", description="")
public class Earnings implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "账户Id")
    private Integer accountId;

    @ApiModelProperty(value = "会员号")
    private String checkname;

    @ApiModelProperty(value = "会员姓名")
    private String name;

    @ApiModelProperty(value = "会员手机号")
    private String phone;

    @ApiModelProperty(value = "openid")
    private String openid;

    @ApiModelProperty(value = "收益来源")
    private String source;

    @ApiModelProperty(value = "收益订单号")
    private String number;

    @ApiModelProperty(value = "收益值")
    private Double num;

    @ApiModelProperty(value = "收益状态")
    private String state;

    @ApiModelProperty(value = "收益说明")
    private String earningsExplain;

    @ApiModelProperty(value = "总额")
    private Double countnum;

}
